using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;


namespace Shine.Framework
{
    [Guid("a50be359-55c9-4820-91ab-f37a9447949f")]
    public interface ICommandBar
    {
        int Count { get; }

        ICommandItem this[int Index] { get; }

       // ICommandItem Add(UID cmdID, ref object Index);

        ICommandItem CreateMacroItem(string Name, ref object FaceID, string Action, ref object Index);

        ICommandBar CreateMenu(string Name, ref object Index);

        void Dock(esriDockFlags dockFlags, ICommandBar referenceBar);

        ICommandItem Find(object identifier, bool noRecurse);

        bool IsVisible();

        ICommandItem Popup(int X, int Y);
    }
}
